Skip to content

Upgrade dependencies to latest versions - #787

Merged
tjementum merged 16 commits into
mainfrom
upgrade-dependencies
Nov 10, 2025
Merged

Upgrade dependencies to latest versions#787
tjementum merged 16 commits into
mainfrom
upgrade-dependencies

Conversation

@tjementum

@tjementum tjementum commented Nov 10, 2025

Copy link
Copy Markdown
Member

Summary & Motivation

Upgrade .NET, frontend, and developer tooling dependencies to their latest versions.

  • Upgrade .NET to 9.0.306 and NuGet packages including Aspire to 9.5.2, Microsoft.OpenApi to 2.x, and Entity Framework to 9.0.10.
  • Upgrade frontend packages including Tailwind CSS to v4, Biome to 2.3.4, and TanStack Router.
  • Upgrade JetBrains tooling to 2025.2.4 and run code cleanup to fix resulting warnings.
  • Upgrade GitHub Actions workflows to use Node.js 24 (current LTS) to support npm 11 lockfile format.
  • Update SonarScanner for .NET to 11.0 and use SONAR_TOKEN environment variable for authentication.
  • Simplify test execution when SonarCloud is disabled by using dotnet test instead of dotnet dotcover test, to dramatically speed up build times when having many tests.
  • Exclude generated Lingui translation files and test results from Biome formatting checks.
  • Fix Microsoft.OpenApi 2.x breaking changes in AppGateway API aggregation service.
  • Replace Enum.ToString() with nameof(Enum) for all enum comparisons.
  • Dynamically discover and kill Aspire processes on ports 9000-9999 to prevent port conflicts.
  • Update warning message when services are already running during Aspire AppHost startup.
  • Ignore PlatformPlatform agent .workspace folder in .gitignore.
  • Fix search input bouncing by replacing manual debounce with useDebounce hook.

Note: Lingui and Rsbuild packages were not upgraded due to @lingui/swc-plugin compatibility constraints. The current version 5.0.1 is compatible with swc_core 0.106.3, while the latest version 5.6.1 requires swc_core 27.0.6. However, Rspack 1.6.1 (used by Rsbuild) bundles swc_core version 46, which is incompatible with both versions of the Lingui plugin. Since SWC plugin support is experimental and does not guarantee semver backwards compatibility between different swc_core versions, upgrading these packages would break the internationalization functionality.

Downstream projects

  1. Update GitHub Actions workflows to use Node.js 24 in .github/workflows/your-self-contained-system.yml:

    -  node-version: 20
    +  node-version: 24
  2. Update SonarScanner commands for version 11.0 to use SONAR_TOKEN environment variable instead of parameters:

    -dotnet sonarscanner begin /k:"..." /o:"..." /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" ...
    +dotnet sonarscanner begin /k:"..." /o:"..." /d:sonar.host.url="https://sonarcloud.io" ...
    
    -dotnet sonarscanner end /d:sonar.login="${SONAR_TOKEN}"
    +dotnet sonarscanner end

    Note: The SONAR_TOKEN should be set as an environment variable in the step's env: section.

  3. Replace dotnet dotcover test with dotnet test when SonarCloud is disabled to speed up builds:

    -dotnet dotcover test your-self-contained-system/YourSystem.slnf --no-build --dcOutput=coverage/dotCover.html --dcReportType=HTML --dcFilters="+:PlatformPlatform.*;-:*.Tests;-:type=*.AppHost.*"
    +dotnet test your-self-contained-system/YourSystem.slnf --no-build
  4. If downstream projects have custom components with arbitrary CSS variable syntax, update CSS variable references from brackets to parentheses for Tailwind v4 compatibility:

    -<div className="h-[--visual-viewport-height]" />
    +<div className="h-(--visual-viewport-height)" />

    Note: CSS variable assignments remain unchanged (e.g., [--color:red]).

  5. Run the developer CLI format commands to apply new Biome and JetBrains code cleanup rules:

    pp format --backend
    pp format --frontend

Checklist

  • I have added tests, or done manual regression tests
  • I have updated the documentation, if necessary

@tjementum tjementum self-assigned this Nov 10, 2025
@tjementum
tjementum requested a review from a team as a code owner November 10, 2025 17:05
@tjementum tjementum added the Enhancement New feature or request label Nov 10, 2025
@tjementum
tjementum force-pushed the upgrade-dependencies branch 2 times, most recently from 5de4537 to e7ea895 Compare November 10, 2025 17:37
@tjementum
tjementum force-pushed the upgrade-dependencies branch from e7ea895 to 3b4eb8f Compare November 10, 2025 17:53
@sonarqubecloud

Copy link
Copy Markdown

@tjementum tjementum moved this to 🏗 In Progress in Kanban board Nov 10, 2025
@tjementum
tjementum merged commit d635568 into main Nov 10, 2025
28 checks passed
@tjementum
tjementum deleted the upgrade-dependencies branch November 10, 2025 18:18
@github-project-automation github-project-automation Bot moved this from 🏗 In Progress to ✅ Done in Kanban board Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant